package com.syaccp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.syaccp.model.CustomerCoupon;

import java.util.List;

/**
 * 针对表【t_customer_coupon(客户优惠卷表)】的数据库操作Service
 *
 * @author Lyh
 * @since 2023-07-19 15:27:05
 */
public interface CustomerCouponService extends IService<CustomerCoupon> {

    List<CustomerCoupon> queryCustomerCoupon(Integer userId);

    Integer useCustomerCoupon(Integer couponId, Integer orderId);
}
